package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 核酸预约检测对象 patient_visits
 * 
 * @author ruoyi
 * @date 2025-06-30
 */
public class PatientVisits extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String patientName;

    /** 就诊卡号 */
    @Excel(name = "就诊卡号")
    private String medicalCardNumber;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCardNumber;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNumber;

    /** 科室 */
    @Excel(name = "科室")
    private String department;

    /** 检测费 */
    @Excel(name = "检测费")
    private BigDecimal testingFee;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 就诊日志 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "就诊日志", width = 30, dateFormat = "yyyy-MM-dd")
    private Date visitDate;

    /** 就诊时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "就诊时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date waitingTime;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointmentTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPatientName(String patientName) 
    {
        this.patientName = patientName;
    }

    public String getPatientName() 
    {
        return patientName;
    }

    public void setMedicalCardNumber(String medicalCardNumber) 
    {
        this.medicalCardNumber = medicalCardNumber;
    }

    public String getMedicalCardNumber() 
    {
        return medicalCardNumber;
    }

    public void setIdCardNumber(String idCardNumber) 
    {
        this.idCardNumber = idCardNumber;
    }

    public String getIdCardNumber() 
    {
        return idCardNumber;
    }

    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }

    public void setTestingFee(BigDecimal testingFee) 
    {
        this.testingFee = testingFee;
    }

    public BigDecimal getTestingFee() 
    {
        return testingFee;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setVisitDate(Date visitDate) 
    {
        this.visitDate = visitDate;
    }

    public Date getVisitDate() 
    {
        return visitDate;
    }

    public void setWaitingTime(Date waitingTime) 
    {
        this.waitingTime = waitingTime;
    }

    public Date getWaitingTime() 
    {
        return waitingTime;
    }

    public void setAppointmentTime(Date appointmentTime) 
    {
        this.appointmentTime = appointmentTime;
    }

    public Date getAppointmentTime() 
    {
        return appointmentTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("patientName", getPatientName())
            .append("medicalCardNumber", getMedicalCardNumber())
            .append("idCardNumber", getIdCardNumber())
            .append("phoneNumber", getPhoneNumber())
            .append("department", getDepartment())
            .append("testingFee", getTestingFee())
            .append("status", getStatus())
            .append("visitDate", getVisitDate())
            .append("waitingTime", getWaitingTime())
            .append("appointmentTime", getAppointmentTime())
            .toString();
    }
}
